﻿using System.Collections.Generic;

namespace LBSoft.Common.DotNetJson
{
    public class mJsonResult
    {
        public mJsonResult()
        {
            total = 0;
            success = false;
            msg = string.Empty;
            rows = new List<object>();
            children = new List<mJsonResult>();
        }

        public mJsonResult(string _id, string _text) { id = _id; text = _text; }
        public int total { get; set; }
        public bool success { set; get; }
        public string msg { get; set; }
        public object obj { set; get; }
        public object rows { set; get; }
        public string id { get; set; }
        public string text { get; set; }
        public object status { get; set; }
        public List<mJsonResult> children { get; set; }
    }
}
